/*
 * Copyright (c) 2014-2020 杭州派迩信息技术有限公司 All Rights Reserved.
 * ProjectName: pi-flowable-project
 * ModuleName: pi-actuator-service
 * FileName: PiActuatorProject.java
 * Author: kai.li
 * Date: 2021/08/31 18:16:31
 * Version: 1.0
 * LastModified: 2021/08/31 18:16:31
 */

package com.pisolution.actuator.service.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.Instant;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * @className: PiActuatorProject
 * @description:
 * @author: kai.li
 * @date: 2021/08/31 18:16:31
 * @since: 1.0
 */
@Data
public class PiActuatorProject extends Model<PiActuatorProject> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "`id`", type = IdType.INPUT)
    private Long id;

    @TableField("`project_name`")
    private String projectName;

    @TableField("`project_description`")
    private String projectDescription;

    @TableField("`create_time`")
    private Instant createTime;

    @TableField("`create_user_id`")
    private Long createUserId;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
